package com.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Sans
 * 多条件查询封装实体类
 */
public class QueryVo {
    
    /** 关键值为索引
        商品编号 & 商品名称 & 商品条形码 & 商品类型 & 商品品牌 & 仓库名 & 头时间 & 尾时间 & 入库单号
     */
    private String p_id;
    private String p_name;
    private String p_code;
    private String p_type;
    private String p_brand;
    private String w_name;
    @DateTimeFormat (pattern="yyyy-MM-dd")
    private Date beginDate;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date endDate;
    private String in_id;
    private String o_id;
    private Integer c_id;
    private String c_name;
    private String u_id;
    private String u_name;
    private String u_phone;
    private String c_phone;
    
    public String getC_phone() {
        return c_phone;
    }
    
    public void setC_phone(String c_phone) {
        this.c_phone = c_phone;
    }
    
    public Integer getC_id() {
        return c_id;
    }
    
    public void setC_id(Integer c_id) {
        this.c_id = c_id;
    }
    
    public String getU_id() {
        return u_id;
    }
    
    public void setU_id(String u_id) {
        this.u_id = u_id;
    }
    
    public String getU_name() {
        return u_name;
    }
    
    public void setU_name(String u_name) {
        this.u_name = u_name;
    }
    
    public String getU_phone() {
        return u_phone;
    }
    
    public void setU_phone(String u_phone) {
        this.u_phone = u_phone;
    }
    
    public String getO_id() {
        return o_id;
    }
    
    public void setO_id(String o_id) {
        this.o_id = o_id;
    }
    
    public String getC_name() {
        return c_name;
    }
    
    public void setC_name(String c_name) {
        this.c_name = c_name;
    }
    
    public String getIn_id() {
        return in_id;
    }
    
    public void setIn_id(String in_id) {
        this.in_id = in_id;
    }
    
    public String getW_name() {
        return w_name;
    }
    
    public void setW_name(String w_name) {
        this.w_name = w_name;
    }
    
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT-8")
    public Date getBeginDate() {
        return beginDate;
    }
    
    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }
    
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT-8")
    public Date getEndDate() {
        return endDate;
    }
    
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
    
    public String getP_id() {
        return p_id;
    }
    
    public void setP_id(String p_id) {
        this.p_id = p_id;
    }
    
    public String getP_name() {
        return p_name;
    }
    
    public void setP_name(String p_name) {
        this.p_name = p_name;
    }
    
    public String getP_code() {
        return p_code;
    }
    
    public void setP_code(String p_code) {
        this.p_code = p_code;
    }
    
    public String getP_type() {
        return p_type;
    }
    
    public void setP_type(String p_type) {
        this.p_type = p_type;
    }
    
    public String getP_brand() {
        return p_brand;
    }
    
    public void setP_brand(String p_brand) {
        this.p_brand = p_brand;
    }
}
